package com.whnk.model.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.whnk.common.core.annotation.Excel;
import com.whnk.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
/**
 * 【请填写功能名称】对象 def_t_task_op_log_detail
 *
 * @author whnk
 * @date 2021-10-20
 */
public class DefTTaskOpLogDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 逻辑ID
 */
    private Long id;

    /** 工作流编码 */
    @Excel(name = "工作流编码")
    private String workflowCode;

    /** 流程实例编号 */
    @Excel(name = "流程实例编号")
    private String pcsExmpId;

    /** 业务编码 */
    @Excel(name = "业务编码")
    private String businessCode;

    /** 发起机构编号 */
    @Excel(name = "发起机构编号")
    private String srcBrcode;

    /** 发起机构名称 */
    @Excel(name = "发起机构名称")
    private String srcName;

    /** 任务种类编号 */
    @Excel(name = "任务种类编号")
    private String taskType;

    /** 任务种类名称 */
    @Excel(name = "任务种类名称")
    private String taskName;

    /** 任务生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务生成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date generationTime;

    /** 任务分配时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务分配时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date obtainTime;

    /** 任务获取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务获取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dealTime;

    /** 任务完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date commitTime;

    /** 任务状态[0-接入，1-分配，2-放弃
，3-完成,4-退回,5-待人工指派,6-处理中,7-分配失败] */
    @Excel(name = "任务状态[0-接入，1-分配，2-放弃，3-完成,4-退回,5-待人工指派,6-处理中,7-分配失败]")
    private String taskStatus;

    /** 操作员名称 */
    @Excel(name = "操作员名称")
    private String adminNm;

    /** 操作员所属机构 */
    @Excel(name = "操作员所属机构")
    private String adminIns;

    /** 操作员操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作员操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWorkflowCode(String workflowCode)
    {
        this.workflowCode = workflowCode;
    }

    public String getWorkflowCode()
    {
        return workflowCode;
    }
    public void setPcsExmpId(String pcsExmpId)
    {
        this.pcsExmpId = pcsExmpId;
    }

    public String getPcsExmpId()
    {
        return pcsExmpId;
    }
    public void setBusinessCode(String businessCode)
    {
        this.businessCode = businessCode;
    }

    public String getBusinessCode()
    {
        return businessCode;
    }
    public void setSrcBrcode(String srcBrcode)
    {
        this.srcBrcode = srcBrcode;
    }

    public String getSrcBrcode()
    {
        return srcBrcode;
    }
    public void setSrcName(String srcName)
    {
        this.srcName = srcName;
    }

    public String getSrcName()
    {
        return srcName;
    }
    public void setTaskType(String taskType)
    {
        this.taskType = taskType;
    }

    public String getTaskType()
    {
        return taskType;
    }
    public void setTaskName(String taskName)
    {
        this.taskName = taskName;
    }

    public String getTaskName()
    {
        return taskName;
    }
    public void setGenerationTime(Date generationTime)
    {
        this.generationTime = generationTime;
    }

    public Date getGenerationTime()
    {
        return generationTime;
    }
    public void setObtainTime(Date obtainTime)
    {
        this.obtainTime = obtainTime;
    }

    public Date getObtainTime()
    {
        return obtainTime;
    }
    public void setDealTime(Date dealTime)
    {
        this.dealTime = dealTime;
    }

    public Date getDealTime()
    {
        return dealTime;
    }
    public void setCommitTime(Date commitTime)
    {
        this.commitTime = commitTime;
    }

    public Date getCommitTime()
    {
        return commitTime;
    }
    public void setTaskStatus(String taskStatus)
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus()
    {
        return taskStatus;
    }
    public void setAdminNm(String adminNm)
    {
        this.adminNm = adminNm;
    }

    public String getAdminNm()
    {
        return adminNm;
    }
    public void setAdminIns(String adminIns)
    {
        this.adminIns = adminIns;
    }

    public String getAdminIns()
    {
        return adminIns;
    }
    public void setOperTime(Date operTime)
    {
        this.operTime = operTime;
    }

    public Date getOperTime()
    {
        return operTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workflowCode", getWorkflowCode())
            .append("pcsExmpId", getPcsExmpId())
            .append("businessCode", getBusinessCode())
            .append("srcBrcode", getSrcBrcode())
            .append("srcName", getSrcName())
            .append("taskType", getTaskType())
            .append("taskName", getTaskName())
            .append("generationTime", getGenerationTime())
            .append("obtainTime", getObtainTime())
            .append("dealTime", getDealTime())
            .append("commitTime", getCommitTime())
            .append("taskStatus", getTaskStatus())
            .append("adminNm", getAdminNm())
            .append("adminIns", getAdminIns())
            .append("operTime", getOperTime())
            .toString();
    }
}
